package com.ceo.common.utils;


/**
 * @Description UTO id
 * @Author shiyang
 * @Date 2021/12/21 10:56
 **/
@SuppressWarnings("ALL")
public class IdUtil {
    private static final long workerId = 1L;
    private static final long datacenterId = 1L;

    public static String getSnowId() {
        return cn.hutool.core.util.IdUtil.getSnowflake(workerId, datacenterId).nextIdStr();
    }


}